package com.zhouyi.meihuayishu.pojo;
import java.sql.Timestamp;

/**
 * @author HhaoAn
 * @date 2025年03月31日 17:30
 * 用户
 */
public class Users {
    private int user_id;
    private String username;
    private String email;
    private String provider;
    private String provider_user_id;
    private Timestamp created_at;
    private Timestamp updated_at;

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public String getProvider_user_id() {
        return provider_user_id;
    }

    public void setProvider_user_id(String provider_user_id) {
        this.provider_user_id = provider_user_id;
    }

    public Timestamp getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Timestamp created_at) {
        this.created_at = created_at;
    }

    public Timestamp getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(Timestamp updated_at) {
        this.updated_at = updated_at;
    }

    @Override
    public String toString() {
        return "Users{" +
                "user_id=" + user_id +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", provider='" + provider + '\'' +
                ", provider_user_id='" + provider_user_id + '\'' +
                ", created_at=" + created_at +
                ", updated_at=" + updated_at +
                '}';
    }
}
